package com.hongyun.tms.common.dto.pordwork;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 拖轮作业记录 批量审核参数
 *
 * @author liPeng
 * @date 2024-05-31
 **/
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
public class PordWorkBatchApproveReqDto implements Serializable {

    @ApiModelProperty(value = "主键")
    @NotNull(message = "至少选择一条记录")
    private Long id;

    @ApiModelProperty(value = "状态")
    @NotNull(message = "目标状态不能为空")
    private Integer status;

}

